package com.baogu.database.service.impl;

import com.baogu.database.mapper.SensorWarningMapper;
import com.baogu.database.service.SensorWarningService;
import com.baogu.model.database.SensorWarning;
import com.baogu.model.database.where.SensorWarningWhere;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SensorWarningServiceImpl implements SensorWarningService {

    @Autowired
    SensorWarningMapper sensorWarningMapper;

    @Override
    public List<SensorWarning> allList(SensorWarningWhere where) {
        return sensorWarningMapper.allWarningList(where);
    }
}
